	<div id="main">
<script>
jQuery(function(){
	var tab, li, div, housetype, timer;
	tab=jQuery("#SH-search");
	if(!tab[0])return;
	li = tab.find("ul.tab-holder li");
	div = tab.find(".tab-panel");
	hosuetype = jQuery("#J_houseType");

	li.each(function(i){
		jQuery(this).attr("index",i)
	})
	
	li.click(function(){
		var jQuerythis=jQuery(this);
		timer = setTimeout(function(){tab_change(jQuerythis,div)},100);
		return false;
	},function(){
		clearTimeout(timer);
	})


function tab_change (tager,div) {
	var index = tager.attr("index");
	var val = tager.attr("val");
	tager.siblings().removeClass("current").end().addClass("current");
	div.addClass("hidden").eq(index).removeClass("hidden");
	hosuetype.val(val);
}

})
</script>

		<div class="cc mb10">
<div class="fl w-715">
	<div id="SH-search">
		<ul class="SH-search-tab tab-holder">
<li class="current" val="sale"><a href="#"><i class="icon-sale"></i>找二手房</a></li>
<li val="hire"><a href="#"><i class="icon-rent"></i>找租房</a></li>
		</ul>
		<div class="SH-search-con">
<div class="l"></div>
<div class="wrap">
	<div class="cc">
	<form action="index.php?m=house" method="post" onsubmit="if(getObj('q').value=='请输入房源特征，地点或小区名') getObj('q').value=''; return true;">
		<div class="select-box">
<input type="hidden" value="" name="options" />
<span>区域</span>
<ul>
	<li val="">区域</li>
</ul>
		</div>
		<input type="text" id="q" name="keywords" value="请输入房源特征，地点或小区名" />
		<input id="J_houseType" type="hidden" value="sale" name="q" />
		<button type="submit" id="q-btn">找房子</button>
	</form>
	</div>
	<div class="tab-panel">
	<ul id="query-list" class="cc">
		<li><em>从售价开始：</em>
		<a href="index.php?m=house&q=sale&options=opt.pricetype.1">50万以内</a>
		<a href="index.php?m=house&q=sale&options=opt.pricetype.2">50-100万</a>
		<a href="index.php?m=house&q=sale&options=opt.pricetype.3">100万以上</a>
		</li>
		<li><em>从面积开始：</em>
		<a href="index.php?m=house&q=sale&options=opt.acreagetype.1">50平米以下</a>
		<a href="index.php?m=house&q=sale&options=opt.acreagetype.2">50-70平米</a>
		<a href="index.php?m=house&q=sale&options=opt.acreagetype.3">70-100平米</a>
		<a href="index.php?m=house&q=sale&options=opt.acreagetype.4">100-150平米</a>
		<a href="index.php?m=house&q=sale&options=opt.acreagetype.5">150-200平米</a>
		<a href="index.php?m=house&q=sale&options=opt.acreagetype.6">200平米以上</a>
		</li>
		<li><a href="index.php?m=house&q=sale">更多找房条件>></a></li>
	</ul>
	</div>
	<div class="tab-panel hidden">
	<ul id="query-list" class="cc">
		<li><em>从租金开始：</em>
		<a href="index.php?m=house&q=hire&options=opt.pricetype.1">500元以下</a>
		<a href="index.php?m=house&q=hire&options=opt.pricetype.2">500-1000元</a>
		<a href="index.php?m=house&q=hire&options=opt.pricetype.3">1000-1500元</a>
		<a href="index.php?m=house&q=hire&options=opt.pricetype.4">1500-2000元</a>
		<a href="index.php?m=house&q=hire&options=opt.pricetype.5">2000元以上</a>
		</li>
		<li><em>从房型开始：</em>
		<a href="index.php?m=house&q=hire&options=opt.roomtype.1">一室 </a>
		<a href="index.php?m=house&q=hire&options=opt.roomtype.2">二室 </a>
		<a href="index.php?m=house&q=hire&options=opt.roomtype.3">三室 </a>
		<a href="index.php?m=house&q=hire&options=opt.roomtype.4">四室</a>
		<a href="index.php?m=house&q=hire&options=opt.roomtype.5">五室 </a>
		<a href="index.php?m=house&q=hire&options=opt.roomtype.6">五室以上</a>
		</li>
		<li><a href="index.php?m=house&q=hire">更多找房条件>></a></li>
	</ul>
	</div>
</div>
<div class="r"></div>
		</div>
	</div>
	<div class="pw-hbox mb10">
		<div class="hd">
<div class="view-hover" altname="S6310housesale" channelid="housesale"><h3>急售房源</h3>
</div>
<a class="more" href="index.php?m=house&q=sale&act=urgent">更多>></a>
		</div>
		<div class="bd">
<div class="list-wrap">
	<div class="view-hover" altname="V1334housesale" channelid="housesale">
	<ul class="pw-hlist pw-htable"></ul>



</div>
</div>
		</div>
	</div>
	<div class="pw-hbox mb10">
		<div class="hd">
<div class="view-hover" altname="F4476housesale" channelid="housesale"><h3>急租房源</h3>
</div>
<a class="more" href="index.php?m=house&q=hire&act=urgent">更多>></a>
		</div>
		<div class="bd">
<div class="list-wrap">
	<div class="view-hover" altname="W8349housesale" channelid="housesale">	<ul class="pw-hlist pw-htable"></ul>
	

</div>
</div>
		</div>
	</div>
	<div class="ad-w715 mb10">
		<!-- 广告位 start -->
<!-- 广告位 end -->
	</div>
	<div class="pw-hbox broker-box mb10">
		<div class="hd">
<div class="view-hover" altname="W4082housesale" channelid="housesale"><h3>推荐经纪人</h3>
</div>
		</div>
		<div class="bd">
<div class="list-wrap">
<div class="view-hover" altname="Q4760housesale" channelid="housesale">	<ul class="broker-list"></ul>


</div>
</div>
		</div>
	</div>
</div>

<div class="fr w-235">
	<div class="btns">
		<p><a class="SH-btn SH-btn-putout" href="index.php?m=house&q=manage&a=addsale"><i class="sale"></i>发布出售</a>
		<a class="SH-btn SH-btn-putout" href="index.php?m=house&q=manage&a=addhire"><i class="rent"></i>发布出租</a></p>
		<p><a class="SH-btn" href="index.php?m=house&q=checkin"><i class="broker"></i>开通经纪人</a>
		<a class="SH-btn" href="index.php?m=house&q=manage"><i class="manage"></i>房源管理</a></p>
	</div>
	<div class="house-tools index-tools-box mb10">
		<div class="hd">
<h3>实用工具</h3>
		</div>
		<div class="bd">
<div class="tools-unit tools-buy">
	<h4>购房</h4>
	<div class="view-hover" altname="J6953housesale" channelid="housesale">	<ul class="pw-hlist">
		<li class="l"><a href="#">二手房交易流程</a></li>
		<li class="r"><a href="index.php?m=house&q=calculate&housetype=sale">房贷计算器</a></li>
		<li class="l"><a href="#">二手房买卖合同</a></li>
		<li class="r"><a href="#">购房宝典</a></li>
	</ul>
	
</div>
</div>
<div class="tools-unit">
	<h4>租房</h4>
	<div class="view-hover" altname="U3899housesale" channelid="housesale">	<ul class="pw-hlist">
		<li class="l"><a href="#">租房交易流程</a></li>
		<li class="r"><a style="color:#f00;" href="index.php?m=house&amp;q=hire&amp;a=agent">中介鉴别</a></li>
		<li class="l"><a href="#">租房合同范本</a></li>
		<li class="r"><a href="#">租房故事</a></li>
	</ul>
	

</div>
</div>
		</div>
	</div>
	
	<div class="house-tools mb10">
		<div class="hd">
<div class="view-hover" altname="M2434housesale" channelid="housesale"><h3>二手房问答</h3>
</div>
		</div>
		<div class="bd">
		<div class="view-hover" altname="R2999housesale" channelid="housesale">	<ol class="pw-hlist"></ol>
		

</div>
		</div>
	</div>
	
	<div class="house-tools mb10">
		<div class="hd">
<div class="view-hover" altname="R6522housesale" channelid="housesale"><h3>二手房小知识</h3>
</div>
		</div>
		<div class="bd">
		<div class="view-hover" altname="V369housesale" channelid="housesale">	<ol class="pw-hlist"></ol>
		

</div>
		</div>
	</div>
	
	<div class="ad-w235">
	<!-- 广告位 end -->
	
	</div>
</div>
		</div>
